package demo5;

public class Test {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.push(1);
        myQueue.push(2);

        int val = myQueue.peek();
        System.out.println(val);

        val = myQueue.pop();
        System.out.println(val);
    }
}
